package com.qd.common.panda.domain.entity.carpark;

import com.cdqidi.util.page.BaseQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author sjk
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchCarParkDTO extends BaseQuery {
    /**
     * 纬度
     */
    private Double lat;
    /**
     * 经度
     */
    private Double lng;
    /**
     * 停车场名称
     */
    private String address;
    /**
     * 类型
     */
    private String parkType;
    /**
     * 车位类型
     */
    private String parkSpaceType;
    /**
     * 车位类型，多个
     */
    private String[] parkSpaceTypes;
    /**
     * 油号
     */
    private String octaneNumber;

    @Override
    public void freeData() {
        this.lat = null;
        this.lng = null;
        this.address = null;
        this.parkType = null;
        this.parkSpaceType = null;
        this.parkSpaceTypes = null;
        this.octaneNumber = null;
    }

}
